home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / graphics / n-z / raystorexa / arexx / supersample.ray < prev    next >
Text File  |  1995-10-21  |  915b  |  53 lines

  1. /***************
  2.  * NAME:        supersample.ray
  3.  * VERSION:     1.0 17.10.95
  4.  * DESCRIPTION: Adaptive supersampling
  5.  * AUTHORS:     Andreas Heumann
  6.  * BUGS:        none
  7.  * TO DO:       none
  8.  * HISTORY:
  9.  *        DATE        NAME  COMMENT
  10.  *    17.10.95 ah    initial release
  11.  ***************/
  12.  
  13. signal on error
  14.  
  15. options results
  16.  
  17. IF ~show('P','RAYSTORM') THEN DO
  18.     address COMMAND 'run >NIL: <NIL: /RayStorm'
  19.     address COMMAND WaitForPort RAYSTORM
  20. END  
  21.  
  22. address RAYSTORM
  23.  
  24. 'TEXTUREPATH /textures'
  25.  
  26. 'SETSCREEN 128 128'
  27. 'SETCAMERA <0,0,-300> <0,0,0> <0,1,0> 45 45'
  28. 'SETWORLD [0,0,0] [100,100,100]'
  29. 'POINTLIGHT <0,0,-200>'
  30.  
  31. 'NEWSURFACE MAP1'
  32. 'IMTEXTURE checker.itx <0,1,0> <0,0,1> <32,32,32> 255 255 255'
  33. 'SPECULAR [255,255,255]'
  34. 'DIFFUSE [255,0,0]'
  35.  
  36. 'SPHERE MAP1 <0,0,0> 50'
  37.  
  38. 'ANTIALIAS 2'
  39.  
  40. 'STARTRENDER QUICK'
  41.  
  42. 'SAVEPIC supersample.iff'
  43.  
  44. 'CLEANUP'
  45.  
  46. exit 0
  47.  
  48. error:
  49. say "Error" rc "in line" sigl ":"
  50. GETERRORSTR rc
  51. say result
  52. exit 0
  53.